#ifndef _LOG4_CPLUS_H_
#define _LOG4_CPLUS_H_

#include <logger.h>
#include <consoleappender.h>
#include <layout.h>
#include <ndc.h>
#include <helpers/loglog.h>
#include <loggingmacros.h>
#include <fileappender.h>
#include <memory.h>
#include <string.h>
#include <stdio.h>
#include <time.h>

using namespace log4cplus;
using namespace log4cplus::helpers;


#define PATH "/home/zhangchunjiiw/IWlinux1.01_Collet/log4cplus/"


class Log4Cplus
{
	public:
		Log4Cplus();
		~Log4Cplus();
		const Logger& LogGet();
		
	private:
		Logger m_logger;
		SharedAppenderPtr m_appender;
};

#endif
